<?php
require_once('config.php');
$result = mysql_query("SELECT * FROM tb_penjualan_rtu where id_penjualan_rtu=$_GET[id]");
$data = mysql_fetch_array($result);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>ERP PT ATHIS</title>
</head>

<body>
<div align="center"><img src="images/athis.png" width="215" height="83" /></div>
<br>
<table align="center" width="843" border="1" cellpadding="1" cellspacing="0">
  <tr>
    <td colspan="2">Tanggal: <?php echo $data['tgl_jual'];?></td>
    <td colspan="2">No: <?php echo $data['id_penjualan_rtu'];?></td>
  </tr>
  <tr>
    <td align="center">No</td>
    <td align="center">Nama Barang </td>
    <td align="center">Jumlah Barang </td>
    <td align="center">Satuan Barang </td>
  </tr>
  <tr>
    <td align="center" valign="top">1.</td>
    <td align="left" valign="top"> CUP <br><br><br><br></td>
    <td align="center" valign="top"><?php echo $data['jumlah'];?></td>
    <td align="center" valign="top"><?php echo $data['satuan'];?></td>
  </tr>
  <tr>
    <td colspan="2" align="center">Peminta Barang </td>
    <td align="center">Pengirim Barang </td>
    <td align="center">Mengetahui</td>
  </tr>
  <tr>
    <td colspan="2"><p>&nbsp;</p>      <p>&nbsp;</p></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
